package com.dao.impl;

import java.util.List;

import org.springframework.stereotype.Repository;

import com.dao.RecBookDao;
import com.entity.RecBook;
@Repository
public class RecBookDaoImpl extends BaseDaoImpl implements RecBookDao {

	@SuppressWarnings("unchecked")
	@Override
	public List<RecBook> getRecBooks() {
		String hql="from RecBook";
		return this.getSession().createQuery(hql).list();
	}

}
